package com.zzyl.serve.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzyl.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.Arrays;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class NursingTaskResponse extends BaseEntity {

    // 定义属性
    private Integer age;
    private String bedNumber;
    private String cancelReason;
    private Long elderId;
    private String elderName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime estimatedServerTime;
    private Long id;
    private String mark;
    private String nursingId;
    private String nursingLevelName;
    private String[] nursingName; // 护理员姓名列表，使用数组类型
    private Long projectId;
    private String projectName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime realServerTime;
    private String remark;
    private String sex;
    private Integer status;
    private String taskImage;
    private String updater;
}
